package com.cskaoyan.service;

import com.cskaoyan.bean.MarketCart;
import com.cskaoyan.bean.bo.CartAddBo;
import com.cskaoyan.bean.bo.CartCheckedBo;
import com.cskaoyan.bean.vo.WxCartCheckedVo;
import com.cskaoyan.bean.vo.WxCartDataVo;

import java.util.Map;

/**
 * @author chengyi
 * @date 2022/10/14 15:43
 */
public interface WxCartService {
    WxCartDataVo index();


    void update(MarketCart marketCart);


    WxCartDataVo checked(CartCheckedBo cartCheckedBo);

    WxCartCheckedVo checkout(Integer cartId, Integer addressId, Integer couponId, Integer userCouponId, Integer grouponRulesId);


    int goodCount();

    int add(CartAddBo cartAddBo);

    int fastAdd(CartAddBo cartAddBo);

    WxCartDataVo delete(Map map);

    int selectAll();

}
